﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;

class Gustaf_800 : Weapon
{
    GameObject m_MultiFireShip;
    Vector3 m_MultiFirePosition;
    Vector3 m_MultiFireDirection;
    public Gustaf_800()
    {
        m_Price = 8000;
        m_Type = ItemsType.WEAPON_BIG_KINETICS_GUSTAF_800;
        m_Speciality = Speciality.MAIN;
        ResearchInfluence = InfluenceMG.INFLUENCE_OTHER;
        m_Level = Level.LEVEL_BIG;
        ShutRange = 29;
        ShutVelocity = 46.7f;
        BulletFlyVelocity = 8;
        m_DropRate = 0.02f;
        Damage = 3800;
        TurnSpeed = 15f;
        m_ShotErrorValueMax = 50;
        m_ShotErrorValueBase =18;
        m_ShotErrorValueIncrement = 1f;
        Name = "古斯塔夫-800";
        Perview = "Textures/Weapon/WeaponBig/Gustaf-800";
        WeaponResource = "Perfabs/Weapon/Big/Gustaf-800";
        BulletResource = "Perfabs/Bullet/Gustaf";
        m_FireAudioResouce = "Perfabs/Audio/Pang";
        Description = "拥有绝对破坏力的超级巨炮，任何舰船都不想被这种巨炮打中。超远距离打击，超强破坏力，超级瞄不准，超级换弹慢。";

    }
    public override FlyItem Fire(GameObject ship, WeaponSlot slot, Vector3 position, Vector3 direction)
    {
        Slot = slot;
        return base.Fire(ship, slot, position, direction);
    }


    public override int update()
    {
        base.update();
        return 1;
    }

}